Crate brev [−] [src]
Brev is a library full of quick and dirty helper functions. Rust has relatively verbose error handling which is great, but sometimes you just want to get in munge some bytes, and get out. That's where brev comes in. If anything goes wrong, brev will just crash. Yay!
Macros
die | |
warn |
Enums
OutputError | |
StatusError |
Functions
can | |
cd | |
cwd | |
die | |
dump | |
empty | |
err | |
glob | |
home |
Return the current users's home directory. |
isdir | |
isfile | |
mkdir | |
out | |
output |
Run a command and return the data it wrote to stdout as a string |
read | |
rm | |
rmdir | |
say | |
signal_from_exit_status | |
slurp | |
status |
Run a command and return the result |
tmpdir | |
touch | |
warn |